package com.axx.android.common;

/**
 * Created by Administrator on 2017/7/21 0021.
 */

public class Constants {
    private final static String HOST = "http://39.108.57.82:8088";

    public final static String APP_ID = "f38f3cd2-dce2-4d0e-9a33-59a354cafc1f";
    public final static String APP_SECRET = "53665167-ccbd-4e35-bbaa-63610c6c488d";
    public final static String WX_APP_ID = "wx7774c7fff4a5045c";


    public static class Url {
        public static class User {
            public static final String USER_RECENT_POINT = HOST + "/user/getListPlace";
            public static final String USER_LOGIN = HOST + "/user/login";
            public static final String USER_RECENT_LIST = HOST + "/user/getListPlaceOfUser";
            public static final String USER_SEARCH = HOST + "/user/query";
            public static final String USER_SEND_FRIEND = HOST + "/user/inviteFriend";
            public static final String USER_FEED_BACK = HOST + "/problemfeedback/add";

        }

        public static class Dic {
            public static final String DIC_CODE = HOST + "/dictcode/findCodeByType";
        }

        public static class Letter {
            public static final String LETTER_WRITE = HOST + "/letter/write";
            public static final String LETTER_RECENT_POINT = HOST + "/letter/findByPlaceAndTime";
            public static final String LETTER_ME = HOST + "/letter/findLetters";
            public static final String LETTER_GET = HOST + "/letter/getLetter";
            public static final String LETTER_RESET_PATH = HOST + "/letter/resetCarpath";
            public static final String LETTER_LIKE = HOST + "/letter/addCollection";
            public static final String LETTER_UP = HOST + "/letter/good";
            public static final String LETTER_DEL = HOST + "/letter/delLetter";
        }

        public static class Profile {
            public static final String PROFILE_TOOLS = HOST + "/bag/findTools";
            public static final String PROFILE_SEND_AUTH_CODE = HOST + "/checkcode/getCheckCode";
            public static final String PROFILE_REG = HOST + "/user/register";
            public static final String PROFILE_LIKE = HOST + "/letter/findCollection";
            public static final String PROFILE_RERETPWD = HOST + "/user/resetPsw";
            public static final String PROFILE_UPLOAD_HEADER = HOST + "/user/upload";
            public static final String PROFILE_UPDATE_NAME = HOST + "/user/editInformation";
            public static final String PROFILE_UPDATE_PWD = HOST + "/user/modifyPsw";
        }

        public static class Bag {
            public static final String BAG_BUY = HOST + "/bag/buy";
        }

        public static class Water {
            public static final String WATER_DETAIL = HOST + "/waterlog/find";
            public static final String WATER_ACTION = HOST + "/waterlog/water";
        }

        public static class ShowMe {
            public static final String SHOW_ME_PUSH = HOST + "/showme/publish";
            public static final String SHOW_ME_LIST = HOST + "/showme/findByPage";
        }

        public static class Subject {
            public static final String SUBJECT_NOW = HOST + "/subject/findSubjectDetail";
            public static final String SUBJECT_PUSH = HOST + "/subject/publish";
            public static final String SUBJECT_HISTORY = HOST + "/subject/findBeforeSubject";
            public static final String SUBJECT_UP = HOST + "/subject/good";
        }

        public static class Pay {
            public static final String PAY_CREATE_ORDER = HOST + "/payorder/createOrder";
        }

        public static class Uploader {
            public static final String UPLOAD_IMAGE = HOST + "/pic/uploadWithUrl";
            public static final String UPLOAD_IMAGE_V2 = HOST + "/showme/uploadPic";

        }


    }

    public static final String ERROR_PARSE = "数据解析错误";
    public static final String ERROR_NET = "网络错误";
}
